<template>
  <div class="app-container" >
      
		<div class='yuce'>
			<div>根据遗传身高计算公式得出{{childData.nickname}}成年后的身高为</div>
			<div class='predictHigh'>
				<div>{{childHeightDetailData.inheritHeight}}cm</div> 
			</div>
		</div>
       
     
  </div>
</template>

<style >
 .yuce{
  color: #4c4c4c;
  font-size: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
}
.predictHigh{
  font-size: 64px;
  color: #75ce3e;
  margin-top: 38px;
  font-weight: bold;
}
</style>

<script>

export default {
  name: "adultHeight",
  props: {
    childId: {
      type: Number,
      default: () => {
        return 0;
      }
    },
    childData: {
      type: Object,
      default: () => {
        return {
          ageNum: undefined,
          avatar: undefined,
          birthday: undefined,
          childId: undefined,
          childType: 1,
          familyCode: undefined,
          height: 0,
          heightDad: 0,
          heightInherit: 0,
          heightMum: 0,
          nickname: undefined,
          sex: 1,
          weight: 0
        };
      }
    },
    childHeightDetailData: {
      type: Object,
      default: () => {
        return {
           
        inheritHeight: 0,
        inheritHeightStatus: "",
        measuredHeight: {
          value: 0,
          halfYearIncremental: 0,
          halfYearIncrementalStatus: "",
          wholeYearIncremental: 0,
          wholeYearIncrementalStatus: "",
          recordedAt: ""
        },
        currentInheritHeight: {
          value: 0,
          halfYearIncremental: 0,
          wholeYearIncremental: 0,
          recordedAt: "06-19"
        }
        };
      }
    }
  },
  data() {
    return {
      
    };
  },

  mounted() {
   
  },
  watch: {
   
  },
  methods: {
    
  }
};
</script>